<script setup lang="ts">
	import { useRoute, useRouter } from 'vue-router'
	import Active from '@/components/demo/active.vue'

	const router = useRouter()
	const route = useRoute()
	console.log(route.meta, router)
</script>

<template>
	<div class="page-index">
		<router-link to='/hello'>To hello page</router-link>

		<Active />
	</div>
</template>

<style>
	.page-index {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
</style>